from django.contrib import admin

from devicemanage.models import Device

admin.site.site_header = '艾美运维资源管理系统'
admin.site.site_title = '艾美运维'
# Register your models here.
class Deviceadmin(admin.ModelAdmin):
    list_display = ('device_type','device_seq','device_release','device_hostname','cabinet_num','publicnetwork_ip','areanetwork_ip','gateway','systemuser')
    list_filter = ('device_seq','publicnetwork_ip')
    search_fields = ('device_type','device_seq','publicnetwork_ip')


admin.site.register(Device,Deviceadmin)
 
